﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace myomscl.Interfaces
{
    #region delegate
    public delegate void OnDetailsViewLoad();
    public delegate void OnDetailsViewChangeStatus(Int32 id, Int32 newStatus, Int32 oldStatus, bool preserve);
    public delegate void OnDetailsGereedMelden();
    public delegate void OnDetailsClearReviewStatus();
    public delegate void OnDetailsMeldingTerugNaarFacturatie();
    public delegate void OnDetailsSaveStatusChanges();
    public delegate bool OnDetailsCheckUitgesteldHerstel ();

    #endregion

    public interface IDetailsView : IView
    {
        #region properties

        Int32 AlertId { get; }
        String Code { set; }
        String Location { set; }
        String AlertType { set; }
        String ActivityType { set; }
        String Area { set; get; }
        String NetworkOperatorName { set; }
        String ContractorName { set; get; }
        String CreationDate { set; }
        String EstimateStartDate { set; get; }
        String EstimateEndDate { set; get; }
        Boolean Traffic { set; }
        String UseMunicipContractor { set; }

        #endregion

        #region events

        event OnDetailsViewLoad OnDetailsLoad;
        event OnDetailsViewChangeStatus OnChangeStatus;
        event OnDetailsGereedMelden OnGereedMelden;
        event OnDetailsClearReviewStatus OnClearReviewStatus;
        event OnDetailsMeldingTerugNaarFacturatie OnMeldingTerugNaarFacturatie;
        event OnDetailsSaveStatusChanges OnSaveStatusChanges;
        event OnDetailsCheckUitgesteldHerstel OnCheckUitgesteldHerstel;
        #endregion

    }
}
